got working solution