alot less code in there for easier debugging.