make animation functions public
strip debug code