send arraylist instead of object array