UNNECESSARY STRINGS REMOVED....
minor changes and dead codes removed....