now applicatin fully working