added in code to print out for lbs simulations