- insert should now return a boolean for success everywhere
- fixed more syntax errors