using && instead of and (nitpicking)