properly rename function