fixed up hw08 for printing