updated alias to use a function