Added initialization routine