added function to retreive cached values from bucket