partly porting tutorials to new API
add forgotten include file