Added UI to ListPattern