Learning to deal with nuts