added a (sorta pretty) printer