A sample implementation of jasmine