codes when learning c