add fn to opts