adds move functionality