add structural patterns