found the function tween