Added recognition of application number