updated prototype
added qunit