- resolved from issue #522
- example added for issue #572