added a fold example