add a phase printer

probably more things i forgot as well