implementation of centered directive
implementation of centered directive