Won't this always break on the first time since you're instantiating bases right above this and it has no values in it?