Working on an improved resource system.