putting the lp monitor code back in