added polymophic flag to order position model