updated examplse, splice/slice