hmm why is this showing wrong eqn for phi -.-