adding coalesce