Tutorial 1: Basic functions