comment out dangerous code
add index for fast searching
process duration