moved common code from atom controller to application controller