use the logger for debug statements, but this can probably juse be removed entirely