Add created index; move fn to correct position
minor style tweak to responses-- remove semicolons