created equation of center command