choosing patterns