based on ugly ideas instead of ugly behavior , 
(ROOT (S (PP (VBN based) (PP (IN on) (NP (NP (JJ ugly) (NNS ideas)) (CONJP (RB instead) (IN of)) (NP (JJ ugly) (NN behavior))))) (, ,)))
(ROOT (S (PP (VBN ) (PP (IN ) (NP (NP (JJ ) (NNS )) (CONJP (RB ) (IN )) (NP (JJ ) (NN ))))) (, )))