added memcache for common queries