pre controller refactor