added some translations, deleted some unnecessary heap variables