added deployment indexing functions and some summary and prediction functions