figured out some different compilation options and more rusty way of doing renaming