matching w/ rotation