center functionality around controller