Added constructorPattern logic first part