Some casually written codes.