Improved flash input