Added degegate example