first draft of script, 3 errors to fix yet