Define index within module