Assignment: Functions

second run at the script