add support for paging and dec & hex print function