added tmpred