Added helper method in accepting applications to remove duplication.