just saving stuff, have an early scala test, some refactoring not complete yet