add value patterns