Added loop to mcs