give nodes a type