给定一段英文文本，将其中的动词转换为现在分词形式。
以下是一段英文文本段落：
"Tom was struggling to finish his homework when his friend called him to play basketball."
Tom was struggling to finishing his homework when his friend called him to playing basketball.