moved precache call