adding loop and 5th line break