use new daemon api