updated center attribute example