added prepare