get rid of the status code and status, return errors instead.