changed name of struct from entry to entry_t