modifying the 'id' subroutine