checking for callback to fix basic usage