new ui integrated with the existing code