Implementation of the girl and the horse