racebox 4 - put code to controller