altered to reflect new image, centering method