modified and renamed inclusive study - this program will be finalized after one more pass through the code