what a flash method ?