start of bookmarks code