Test codes
It has many issue in this version