Allowed both width and height to be specified