cheating and hardcoding the table, but it works now and didn't before
oops, forgot index