Added basic function creation and use.