code for DRS