Implements second tutorial