add trait class to check property