merge return and create lines