extended support for negative indices