add behaviors and ui sample.