record some code