using correct object for callback