making some progress..

but the compare test is still broken