some steps to handel m:m relationships