added model cache