change senz from object to array