added variable for the center coordinates