rename function with dash