Removed old code from Controller.java