Added validation of two parts.