added inner join
cleanup
Merge remote-tracking branch 'origin/master'