removed 'are_entries_zero' function