renamed vec::from_slice to vec::to_owned