formatted code tags
added documentation for tween functions