Fixed missing variable issue. Solved all problems ;_;
Added a few more notes