filter,composite,decorator design pattern