added "constructor method"