syntax mostly, but some changes to print output formatting