add main structure