add,profit to pattern