make center a method of Camera