adding initialization code