getmidpoint works!