add actions run func