basic join, not sure if its right yet