Tend to agree with @jglick, especially since you managed to mistype getResources on line 278 already :)