sample code from class today