changing required to be the properties