add cache as a dependency