added new structure to controller