add types, scalac seems to mangle this