adding spans to entities