change print to verbose and fix return value