added getBounds