GH-5 Added code to output gates info