Finally got initialization right.