cleaned up comments after refactoring flash