add machine learning to extraction method
add rule for location