printing last lines on category opefn