A group of people are standing on mats while taking an exercise class in a carpeted room .