updated with example