add height/width restrictions