Fixed read and started building logging