commit some code with right pattern