basic error handling
offer types
added hardcoded ip param to the request
fixed all warnings