complete working LP create output function