adding data logger