end of practical 4 including serialize and curl