Create a people hash and refactor