add Factory to gridBuilder