while trying to, when intending to

listen to the pronunciation of while trying to, when intending to