beginning of sparkle animation, added some doc comments