Defining the scientific method