added location value to entity model