Added stuff to the new chunk listener method