refactoring into new host object: PSWindows