updated loop to only show books published after 1950