improve doc and coverage