plexon unpacking code