example updated + simple list added + function created