random changes and pretty print discovery