tweening functions can take objects as arguments