you can remove this else in favor of one if and earlier return