added wrapped function