got entity models working