moved another method into a powershell module