naive string commiting