pass the width and height as a parameter