redid index and added sample