working flash input