Changed debug info, moved param creation.