pass parameters to WhaleInit()