switching rows based on phoneID