create entity from cache