model definition with nemodel