took out app delegate