Fixing addShowProper by exporting it in a defined function