Sketched out implementation

doesn't work