Refactor: Input parameters are const