Creation of objects by parameters