i was up all night trying to make the stupid thing work , to no avail .