added serial reader and data log