added interface to boolean decorator