Refactoring check_for_new. Closes #36.