simplified printSyntax functions