@Override
        public void mousePressed(MouseEvent e) {
            //right lick on shape
            if (e.getButton() == MouseEvent.BUTTON3 && entered != null) {
                model.removeShape(entered);
            }
            //left click
            else if (e.getButton() == MouseEvent.BUTTON1) {
                for(AbstractShape shape: model.getShapeList()) {
                    if (shape.findPoint(e.getX(), e.getY())) {
                        currentShape = shape;
                        findExisted  = true;
                    }
                }

                if (currentShape == null && entered == null) {
                    findExisted = false;
                    currentShape = createShape(e.getX(), e.getY());
                }
            }
        }