added initialization code