adapting the cap tasks to cap3