Added getString method. 

Note: still has overwrite bug.