adding flash controller