The main procedure of performing a flame