Nit: you could just have return name in the end. No need for two "return name" and one else.