turned self sufficient class into a combined program