move "ensure" argument to last