double class