sample code for learning something by seeing