Added support for center mode