model defined, backend done