add initialization code