private void updateHomePlan() {
		if(livesAtHome()){
			if (realestate.size() == 0) allocations[2].setBuildingClass(new Shack());
			else{
				int rank = 0;
				for (Home house:realestate){
					if (Home.getRank(house) > rank) rank = Home.getRank(house);
				}
				allocations[2].setBuildingClass(Home.getRankedHome(rank+1));
			}
		}
		else{
			if (home == null) allocations[2].setBuildingClass(new Shack());
			else allocations[2].setBuildingClass(Home.getRankedHome(Home.getRank(home)+1));
		}
	}