adding constructor