move method; add test for list