Tagged flash-programming