saved a working copy of main for uppgift 1