added patterns from @goyetus, issue #124