now you only need to handle the cases of valid and...
# arrow
p
now you only need to handle the cases of valid and invalid, so you need to use
fold