add patterns export function