added jasmine functionality
erhm