before sphinx