filled in search and started fleshing out insert