They agreed not to masturbate, but the desire took over