Added control for centering