Added necessary code for running LPP