removing compares after 5