Adds returning line for function