Using constructors for creating Objects