Added print out lp functiony