add aliases
remove duplicated codes