after compiling and working out the bugs