a demo use agg lib