Renamed table enty pointer "p" to "entry"