make use of shallow copy