Added ws_cursor and implemented it