Adding a new function and deleting lines.