remake of index-static