my learning code of POCO library