ui creation for tuple and group