add validation and flash support