Church pays $35 million for building