added height and width to IM