Code with pre remove.