fixes and a more substaintial example