Added function ballflash