added some flash stuffs