added and integrated cdalias function