that is gem extracted from open_flash_chart_2 project