added properties to allow models to interface rest api