mainMethod to determine main cooking method