added sparks and template spark