add contants to index