added code demoed for Ryan F