changed type to name to avoid confusion