moved village code to it's own function/method