commented out spark code