use double() instead of mock()