added properties type and id