starting calling structure from main