creating front controller to be done