streamlined initialization code