implementing toy backwards