added code to print aliases