Remove to-function