change from push to slice