Made example generic