Refactor, rename name of plotting function