changed name of method
renamed some methods and varialbles and added support for localization via NSLocalizedstring