Added datalogger feature