app outputs using IO structs expand varaibles