main structure ready