now with logs