added the fix to handle the 2nd pointer in the line