remove warnings, more doc