learning spark and curl