adding application.h to example