pattern vectors