Added comments
Added 'convertEncoding' method