added indexing to workspace