add rounded rectangle functionality