final logic files