added Jasmine functionality