Shortened if statement