Working to toy problem