changes to humid function