for my notes; much of this commented out