can now supply a function for constrainTo