replaced index with camera