adding constructor with default values