refactoring paste last versions