trying to 'firm up' and finalize example 5