kind of got it working