making window size a vaariable