models in basic-refactored