resources now have a type system