added call to callback function