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