handle required properties of objects