could be one if statement