final parser work for api