A few sample codes.