Data logging added.