errors and whatnot, life of a programmer :(