index prototype completed