figured out a way of setting the width and height