tidying up indentation for flash methods