refactored application (for application kind) to kind