removed unused controller code