better pagination + printing tracing