renamed get to getdict, added some return info in getdict