why not a single if statement?