base dataModel logic