added the optional parameters to the ->new_har() method