multiple modes of recording implemented.