works with process guard