replaced prompts for width and height with a form