adding height and width variables