simplify leaving in place of lineno and level