Finished ep 49 sample code