Why did I have to try to make a constructor method?