added jasmine functionality