Working on initialization code