modifying gadgets