gave variables for distance of face from center