trying to make gets faster
fixing stored ordering
still trying to fix order of statments
small tweaks to ret stmts
Merge pull request #215 from creighton/improve

speeding up get statements