Misc code experiments