doesnt the component also check properties? or it only checks public properties and we also want to check private/protected?