Refactored some methods using doubling