code complete but still some bugs