Add function tasks