why are you loading resources here? wat