passes the entire hash into the modified hash