Added end to span