removed flag, not needed, user should pass this when using lib.