make a function to an alias to a class