script used to test aggregate interface