working on viewing logs