basic dojo model code in place