starting a method to create objects