dog using magic