added verbose mode to address #52