Added a new example(passing slots)