Playing with sample code