Code with goalie