swiched function location back to where it was