program works, need to seperate