made everything play much nicer with resources