joint modeling notes