remove duplicate views and use loops and indexes
fix url associated w/ button