made the width and hight finite (as required)