truncating long names
reseting cycle