Code finalizing & fix: Undefined variable/index *