Used an until loop, added additional information into the hash, center output