added flatmap example