add write_alias and read_alias