Paste the following code just after the closing