added functionality to record multiple times and analize each recording behind the scenes