-fixed one of the resource calls (still have to figure out how that
works)