add composite attribute helper