new codes with UI