adding in log parsing