[Refactoring] add const, change position of setup