toy code