begin the homomorphism part, just got my method