added resizable polygon