Create new objects in method main