adding comments and jasmine tests