working copy of a controller excluding unit test cases.