put this inside the next if?