application.h is needed for this