Compositions including polymeric dialdehydes and compounds of where R1, R2, R7, R8, R9, and R10 may be the same or different and are selected from H, CH3, OH, OCH3, C2H5, OC2H5OCH2Ph, OCH2PhNO2, F or Cl; R3, R4, R5, R6 may be the same or different and are selected from H, CH3, OCH3, C2H5, OC2H5OCH2Ph, OCH2PhNO2, F or Cl, or R5 and R6 are the same or different and are selected from H, CH3, OCH3, C2H5, OC2H5OCH2Ph, OCH2PhNO2, F or Cl and R3 and R4 together are ═O, or R4 and R6 are the same or different and are selected from H, CH3, OCH3, C2H5, OC2H5OCH2Ph, OCH2PhNO2, F or Cl and R3 and R5 together form a double bond or are ═O, or R3 and R4, are the same or different and are selected from H, CH3, OCH3, C2H5, OC2H5OCH2Ph, OCH2PhNO2, F or Cl and R5 and R6 together are ═O; R11 and R12 together form ═CH2, or R11 and R12 may be the same or different and are independently selected from the group consisting of H, CH3, CH2CH3 and CH2CH2CH3; and X is selected from the group consisting of Cl, Br, SO4, I and R13COO, where R13 is CH3 or poly acids, for the treatment of gastrointestinal functional disorders or related conditions as well as for the promotion of general health and weight gain in animals including humans.