linking up the application