not working need to add myglobalboundaryfactory