updated with new example