code right before testing

some features are commented out