this is for flames program in android