made some progress with jasmine