created driver function. Updated README