package index working