spark structure