fixing bug

now the return of the function does not depend of if the verbose is true
or false