refactor logbooks structure