use g function, update aliases