added flash hack