Changed center() functions.