name string array added
while and do loops added