adapt new helper func api