partials wouldn't work so just wrote table into index as well. Did not comply with DRY :(