added batch sample