added configuration attributes for width and height