check types in parts