The present invention provides for a polyketide synthase (PKS) capable of synthesizing a 3-hydroxycarboxylic acid or ketone. The present invention also provides for a host cell comprising the PKS and when cultured produces the 3-hydroxycarboxylic acid or ketone.