implement keep moving
format and comment