Finished logic and structure of program