code practice after read a book