Added registerName call