got most of it working