added special functions for inserting data from view to controller and back