add line 5 until 8