added clause for previous version removal