isnt there some operator that you could use here?