Removed unwanted controller code