added logging for chunks