[BUG #8560] added factory method
[BUG #8560] added factory method