at least it runs and gives me some result although there are still bugs in side T_T