Getting rid of unused 'entered' variable in getchunk.