stupid move

need index for getting document
clean up