better component example