started work on data loggin and display