removing more hardcoded content from views into the controller