A easy way and the code seems ugly.