added `double` method with Dustin's help