avoid using "new" keyword in controller