add flash feature