first guestbook refactor