added the UI for attribute collection