tweaked initialization