prepare actions