Looking ahead: pattern assignment