more syntax adjustments, also added logging
Merge pull request #4 from wfleming801/moreSyntax

more syntax adjustments, also added logging