mainly just for completeness but I think adding code to a cell is fairly common so it would be useful