out stop duplication function