commands \id and \rg added