moving code from Lite app to controller