added a basic index