misc index/local stuff