Use match guards instead of if statements