tried to add flash stuff...not entirely successful