some thought and sample when learning c