reset cache in set()
rprog-005 assignment 2