Flat ui add

Flat ui add and join add on array