[UPDATE] removed unused variables. TODO. recompiled.