Added: extracted .target from .parent(temp)