changed printing to semicolons