new doc typing + style