refactor and fix total_numbers_remaining? method