added model file, flat prediction