renamed "root" to "return"