some codes from my wonderfl.net account