changed to random self reg. added more parts to the thesis