code housekeeping