able to capture return value