Add Main While Loop