hacky rename function