buils the Scotty example
break it down, understand types