Adding Dec class