added condition if count remains 0