Implemented set parsing