created cache class