shorten guard statement