added support for height and width