returns null rather than false if key doesn't exist for retrieve function