improved doc lines