took out sin() and cos()