Added callback function

async-style parameter is allowed now