working solution for lib parse