Medium control in a competitive hydrogen bonding system