added variables for width, height and font size