used inner_join. much faster than merge