changing max_count