program solved and modification in app