added prototypes for hashTables and validLoop function - don't try to compile, it won't work