cleanup of the rewrite, added "confirm" method, updated README