added checking for MineLP