finished the code; just have to get the bugs out