join_where.idea implemented and working