make def async