adding new line before and after print statements in function call