application working for 4 tasks