removed restricted flag from data model