Edited DataLogger class