adding support for reverse stroke types