Solved issue #10 adding a bookmark prints a 0 to the terminal