Attempting to create the object dynamically