Added Match support for Loops