did some stuff with resources