doubling implemented, some comments