tested without jasmine - done