deconfused code