added homework for memcache