Moved find all spans to the controller - working