add a new centering method