add intermediate span