changed UI, added structure for insert text