added jasmine code