Freshening up my mediocre C skills