finally have all this crap working.