Change the verb from the preterite to "acabar de" plus an infinitive, adding object pronouns if indicated.