updates to the print functions and to the association test