Finish structure logic