implement varname hack and add some abbreviations