working on integrating sparkle