make reserved index parameter instead of separate class