pattern adapter add