reorganized things --> created an integration test, though didnt complete