Improve code a bit. Put version number to 1.02.