end random cache