commiting working before starting searching