adding support for rounded rectangle