move aliases to functions