removed ref to appdelegate.h