app outputs using IO structs