Switched to using NSLOTS from header file to represent the number of slots in a table