pattern UI added