ghetto way to store logs - refactor me!