enhanced datalogger, created basic structure