Condensation with aldehydes or ketones