working on application control