small toy script to show core functions