changing to swf