written main function, conflict resolved structures with the same name