little codes for ML.