Added mode for vertical fitting