removed flash code