work on #8 and #812