MOD: optimize action based tasks.