How is a foul resolved?