reverse engineering a thing