add console output examplecode