This for else if stuff makes my brain hurt, have no idea how to make this math stuff chooch, help me brother