By request, I made getWidth and getHeight longer because it's apperantly good practice.