flash, not fully implemented