some python toy code i made