refactor controller init method