changed default result value. added pry.