working ish with logs, about to fix period