Finished program 1