Removed getWidth() and getHeight() which I added by mistake. They are already present...