change callback to void return type
example for using a callback