Added sparks pattern class