added verbose mode